import { IForm } from '@/base-ui/form'

export const searchFormConfig: IForm = {
  labelWidth: '120px',
  itemStyle: {
    padding: '10px 40px'
  },
  // colLayout: {
  //   span: 8
  // },
  formItems: [
    {
      field: 'name',
      type: 'input',
      label: 'User Name',
      placeholder: 'Please input user name'
    },
    {
      field: 'real_name',
      type: 'input',
      label: 'Real Name',
      placeholder: 'Please input real name'
    },
    {
      field: 'passwd',
      type: 'input',
      label: 'Display Name',
      placeholder: 'Please input display name'
    },
    {
      field: 'enable',
      type: 'select',
      label: 'Status',
      placeholder: 'Please select status',
      options: [
        { title: 'enable', value: 1 },
        { title: 'disable', value: 0 }
      ]
    }
    // {
    //   field: 'create_at',
    //   type: 'datepicker',
    //   label: 'CreateAt',
    //   otherOptions: {
    //     startPlaceholder: 'Start time',
    //     endPlaceholder: 'End time',
    //     type: 'daterange'
    //   }
    // }
  ]
}
